<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model backend\models\GoodType */

$this->title                   = $model->name;
$this->params['breadcrumbs'][] = ['label' => 'Good Types', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="good-type-view">

    <h1><?= Html::encode($this->title) ?></h1>

    <?= DetailView::widget([
        'model'      => $model,
        'attributes' => [
            'id',
            'name',
            'des',
            'type',
        ],
    ]) ?>

</div>
